//接口url
//const host = 'http://bj.qwang.com.cn:33381/';
const host = 'https://reg.reed-sinopharm.com/';
export default {
	appCall : `${host}/api/app/appCall?`,	
	userInfo : localStorage.userInfo ? JSON.parse(localStorage.userInfo) : null,
	baseInfo : localStorage.baseInfo ? JSON.parse(localStorage.baseInfo) : null,
	isLogin : localStorage.userInfo ? true : false ,
  setFormData(type,map){
		let formdata = new FormData();
		let jsonParam = JSON.stringify({opeType:type,map:map});
		formdata.append('jsonParam', jsonParam);	
		return formdata;
	},
}